package com.voltmao.energy.Dao;

import java.io.Serializable;
import java.util.Date;

public class VoltUser implements Serializable{
	private static final long serialVersionUID = 1L;

	private Long accountId;

    private String loginName;

    private String loginPassword;

    private Byte accountStatus;//账号状态

    private String realName;

    private Date createDate;

    private String phone;

    private String email;

    private String ledgerId;//对应的企业id

    private Date lastDate;

    private String freetimePeriod;

    private Integer isshield;

    private String roleId; //外键，关联角色表，多个角色之间用#隔开

    public Long getAccountId() {
        return accountId;
    }

    public void setAccountId(Long accountId) {
        this.accountId = accountId;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName == null ? null : loginName.trim();
    }

    public String getLoginPassword() {
        return loginPassword;
    }

    public void setLoginPassword(String loginPassword) {
        this.loginPassword = loginPassword == null ? null : loginPassword.trim();
    }

    public Byte getAccountStatus() {
        return accountStatus;
    }

    public void setAccountStatus(Byte accountStatus) {
        this.accountStatus = accountStatus;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName == null ? null : realName.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getLedgerId() {
        return ledgerId;
    }

    public void setLedgerId(String ledgerId) {
        this.ledgerId = ledgerId == null ? null : ledgerId.trim();
    }

    public Date getLastDate() {
        return lastDate;
    }

    public void setLastDate(Date lastDate) {
        this.lastDate = lastDate;
    }

    public String getFreetimePeriod() {
        return freetimePeriod;
    }

    public void setFreetimePeriod(String freetimePeriod) {
        this.freetimePeriod = freetimePeriod == null ? null : freetimePeriod.trim();
    }

    public Integer getIsshield() {
        return isshield;
    }

    public void setIsshield(Integer isshield) {
        this.isshield = isshield;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId == null ? null : roleId.trim();
    }

	@Override
	public String toString() {
		return "VoltUser [accountId=" + accountId + ", loginName=" + loginName
				+ ", loginPassword=" + loginPassword + ", accountStatus="
				+ accountStatus + ", realName=" + realName + ", createDate="
				+ createDate + ", phone=" + phone + ", email=" + email
				+ ", ledgerId=" + ledgerId + ", lastDate=" + lastDate
				+ ", freetimePeriod=" + freetimePeriod + ", isshield="
				+ isshield + ", roleId=" + roleId + "]";
	}
   
    
    
}